# $Id$
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Manolis Tzanidakis <manolis@archlinux.org>

pkgname=libieee1284
pkgver=0.2.11
pkgrel=7
pkgdesc="A library to query devices connected in parallel port"
arch=('x86_64')
license=('GPL2')
url="http://cyberelk.net/tim/libieee1284"
optdepends=('python2: for python module')
makedepends=('python2')
source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2")
md5sums=('b8fff9f3d121531bc17430e3f4ea6ed0')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr --mandir=/usr/share/man
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir"/ install
}
